# -*- coding: utf-8 -*-
# @Time: 2024/11/7 1:32
# @Author: foxhuty
# @File: data_notes.py
import pandas as pd


def dict_df():
    name = ['物理类', '历史类', '总表']
    score = [88, 99, 300]
    name_dict = dict(zip(name, score))
    print(name_dict)
    name_df = pd.DataFrame(name_dict, index=[0])
    print(name_df)


if __name__ == '__main__':
    dict_df()
